#pragma once
#include<stdio.h>
#include<stdlib.h>
typedef int Seqtype;
typedef struct
{
	Seqtype* a;
	int size;
	int capacity;
}Seqlist;
void iniSeq(Seqlist* ps);
void Seqpushback(Seqlist* ps, Seqtype x);
void Seqpushfront(Seqlist* ps, Seqtype x);
void Seqpopback(Seqlist* ps, Seqtype x);
void Seqpopfront(Seqlist* ps, Seqtype x);
void Seqprint(Seqlist* ps);